package com.ruoyi.project.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 运行机器人币对对象 r_running_exchange
 *
 * @author ruoyi
 * @date 2020-07-30
 */
public class RRunningExchange extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 运行实例ID
     */
    private Long runningId;

    /**
     * 交易所
     */
    private String platform;

    /**
     * api_id
     */
    private Long apiId;

    /**
     * symbol_id
     */
    private Long symbolId;

    /**
     * 币对名称
     */
    @Excel(name = "币对名称")
    private String symbolName;

    /**
     * 标签
     */
    @Excel(name = "标签")
    private String tagName;

    /**
     * 顺序
     */
    @Excel(name = "顺序")
    private Integer sequence;

    public void setRunningId(Long runningId) {
        this.runningId = runningId;
    }

    public Long getRunningId() {
        return runningId;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getPlatform() {
        return platform;
    }

    public void setApiId(Long apiId) {
        this.apiId = apiId;
    }

    public Long getApiId() {
        return apiId;
    }

    public void setSymbolId(Long symbolId) {
        this.symbolId = symbolId;
    }

    public Long getSymbolId() {
        return symbolId;
    }

    public void setSymbolName(String symbolName) {
        this.symbolName = symbolName;
    }

    public String getSymbolName() {
        return symbolName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getTagName() {
        return tagName;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Integer getSequence() {
        return sequence;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("runningId", getRunningId())
                .append("platform", getPlatform())
                .append("apiId", getApiId())
                .append("symbolId", getSymbolId())
                .append("symbolName", getSymbolName())
                .append("tagName", getTagName())
                .append("sequence", getSequence())
                .toString();
    }
}
